getAssignedClocks
This command is used to determine which Format Clock will be used when scheduling a specific date/hour.
Sample Request
<mmRequest command="getAssignedClocks" station="StationID" <contents> <assignments> <assignment time="2024-11-11T00:00:00" /> <assignment time="2024-11-11T01:00:00" /> <assignment time="2024-11-11T02:00:00" /> </assignments> </contents> </mmRequest>
Request Notes
This is tied to the Format Scheduler and will return the clock that you would see in the Schedule Editor, taking into account the active grid, grid rotation and any Format Scheduler overrides. You can specify any number of date/hours to check in a single call. Each must be specified in ISO date/time format.
Sample Reply
<mmReply command="getAssignedClocks" station="StationID" status="ok"> <contents> <assignments> <assignment time="2024-11-11T00:00:00" code="AA" name="Clock AA" locked="0"/> <assignment time="2024-11-11T01:00:00" code="AB" name="Clock AB" locked="0"/> <assignment time="2024-11-11T02:00:00" code="AA" name="Clock AA" locked="0"/> </assignments> </contents> </mmReply>
Reply Notes
The command will return an assignment tag for each hour that was requested, which adds the Clock Code and Clock Name. In addition, the locked attribute returns 0 or 1 based upon whether the clock is already locked in history. Hours in Archive History will also indicate locked=”1”.
Compatibility and Version Info
Available in MusicMaster PRO 8.0.15 or later.
Available in MusicMaster CS 2.5.0.12 or later.